package com.yuyou.fn.educational.vo;

import com.yuyou.fn.educational.entity.CourseClass;
import com.yuyou.fn.educational.entity.Student;

import java.util.Date;
import java.util.List;

/**
 * Created by wens on 2017/7/27.
 */
public class CreateCourseOrderInfo {

    private Long parentOrderId ;

    private Student student ;

    private List<CourseClass> courseClassList ;

    private List<? extends RegClassInfoVo> regClassInfoList ;

    private List<DiscountInfoVo> discountInfoList;

    private Date regDate ;

    /**
     * 0线下 1线上 2转班
     */
    private Integer from ;

    private boolean needCheck = true ;

    /**
     * 金额是否取整数
     */
    private boolean isInt = true ;

    public boolean isInt() {
        return isInt;
    }

    public void setInt(boolean anInt) {
        isInt = anInt;
    }

    public boolean isNeedCheck() {
        return needCheck;
    }

    public void setNeedCheck(boolean needCheck) {
        this.needCheck = needCheck;
    }

    public Long getParentOrderId() {
        return parentOrderId;
    }

    public void setParentOrderId(Long parentOrderId) {
        this.parentOrderId = parentOrderId;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public List<CourseClass> getCourseClassList() {
        return courseClassList;
    }

    public void setCourseClassList(List<CourseClass> courseClassList) {
        this.courseClassList = courseClassList;
    }

    public List<? extends RegClassInfoVo> getRegClassInfoList() {
        return regClassInfoList;
    }

    public void setRegClassInfoList(List<? extends RegClassInfoVo> regClassInfoList) {
        this.regClassInfoList = regClassInfoList;
    }

    public List<DiscountInfoVo> getDiscountInfoList() {
        return discountInfoList;
    }

    public void setDiscountInfoList(List<DiscountInfoVo> discountInfoList) {
        this.discountInfoList = discountInfoList;
    }

    public Integer getFrom() {
        return from;
    }

    public void setFrom(Integer from) {
        this.from = from;
    }

    public Date getRegDate() {
        return regDate;
    }

    public void setRegDate(Date regDate) {
        this.regDate = regDate;
    }

}
